<template>
	<view>
		<view class="one">
		</view>
		<view class="_a">
			<view class="red">
				<view class="red_a"></view>
			</view>
			<view>
				<view class="_b">
					<view>
						<view class="colse" @click="back">关闭</view>
					</view>
					<view class="_c1">
						<view class="_c">
							<view class="avatar">
								<u-avatar :src="infor.avatar" size="150rpx"></u-avatar>
							</view>
							<view class="text">
								
								<view class="_c2">恭喜您获得</view>
								<view class="money">100<span class="_d">元购房优惠券</span></view>
								<view class="money_text">已存入零钱，可直接查看</view>
							</view>
							<view class="_c3">
								<view class="tishi">已领取一张优惠券100元</view>
								<view class="line"></view>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			
			}
		},
		onShow() {
			
		},
		methods: {
			back() {
				uni.navigateTo({
					url: '/pages/coupon/coupon'
				})
			},
			
		}
	}
</script>

<style>
	.one {
		width: 100%;
		height: 100vh;
		z-index: -1;
		position: fixed;
		background-color: #F7F7B7;
	}

	._a {
		position: fixed;
		top: 80rpx;
	}

	.red {
		position: absolute;
		bottom: -25rpx;
		z-index: -1;
	}

	.red_a {
		width: 680rpx;
		height: 60rpx;
		background-color: #E54440;
		margin-left: 35rpx;
	}

	._b {
		background-color: #FCF9EA;
		width: 630rpx;
		height: 1100rpx;
		margin-left: 60rpx;
	}

	.colse {
		color: #D4BB3F;
		float: left;
		margin: 20rpx 0 0 30rpx;
	}

	.rule {
		color: #D4BB3F;
		float: right;
		margin: 20rpx 30rpx 0 0;
	}

	._c {
		width: 630rpx;
		height: 500rpx;
		padding-top: 20rpx;
	}

	.avatar {
		width: 150rpx;
		height: 150rpx;
		margin-left: 230rpx;
	}

	.text {
		width: auto;
		margin: 20rpx 65rpx;
		text-align: center;
		font-size: 30rpx;
	}

	.money {
		font-size: 70rpx;
		color: red;
		margin-top: 10rpx;
	}

	.money_text {
		color: red;
		font-size: 25rpx;
	}

	.tishi {
		color: #999999;
		font-size: 20rpx;
		margin-left: 30rpx;
		margin-bottom: 10rpx;
	}

	.line {
		height: 5rpx;
		width: auto;
		background-color: #E6E6E6;
	}

	._c1 {
		padding-top: 80rpx;
	}

	._c2 {
		margin-top: 10rpx;
	}

	._c3 {
		margin-top: 65rpx;
	}

	._d {
		font-size: 40rpx;
	}
</style>
